package org.zzh.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zzh.domain.system.dept.PeDept;

import java.util.List;

@Mapper
public interface PeDeptMapper {

    List<PeDept> list(@Param("name") String name);

    PeDept findById(@Param("deptId") String id);

    List <PeDept> findParentList();

    void add(PeDept dept);

    void update(PeDept dept);

    void deleteList(@Param("ids") String[] ids);

}
